const defaultTabBars = [
  {
    pagePath: 'pages/index/index',
    text: '首页',
    iconPath: 'img/icon/icon/shouye.png',
    selectedIconPath: 'img/icon/selectIcon/shouye.png'
  },
  {
    pagePath: 'pages/advice/index',
    text: '留言',
    iconPath: 'img/icon/icon/liuyan.png',
    selectedIconPath: 'img/icon/selectIcon/liuyan.png'
  },
  {
    pagePath: 'pages/chat/index',
    text: '联系',
    iconPath: 'img/icon/icon/lianxi.png',
    selectedIconPath: 'img/icon/selectIcon/lianxi.png'
  },
  {
    pagePath: 'pages/prod/index',
    text: '朋友',
    iconPath: 'img/icon/icon/pengyou.png',
    selectedIconPath: 'img/icon/selectIcon/pengyou.png'
  }
]

export default {
  pages: [
    //主页面
    'pages/index/index',
    'pages/chat/index',
    'pages/advice/index',
    'pages/prod/index',
    //其余页面
    'pages/login/login',
    'pages/register/register',
    'pages/blog/detail'
  ],
  tabBar:{
    selectedColor: '#0bb27a',
    color: '#80848F',
    list: defaultTabBars,
  },
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'ttzxh博客',
    navigationBarTextStyle: 'black'
  },
  networkTimeout: { request: 15000 },
}
